#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>
#import <UIKit/UIPreferencesTable.h>
#import <UIKit/UIPreferencesTextTableCell.h>
#import <UIKit/UISegmentedControl.h>

#include <stdio.h>
#include <sqlite3.h>

#define	S_MAP		0
#define	S_PREFS		1
#define	S_LOCATION	2

#define ROOT_URL	"http://relabs.ru/demo/WG/"
#define CONF_FILE	"/var/root/.wi2geo.conf"

#define C_GROUPS	1
#define	C_CELLS		1

@interface Configuration : NSObject {
	int recallTime;
	
	UIPreferencesTable *tPrefs; 
	UIPreferencesTableCell *cl[C_GROUPS][C_CELLS];
	UIPreferencesTableCell *gcl[C_GROUPS];
	
	UISegmentedControl *cRecallTime;
	
}

- (id)initWithView: (UIPreferencesTable *)t;
- (void)dealloc;

- (void)load;
- (void)save;
@end
 
